<?php
header("Content-type:text/css");
recursive(".");
function recursive($path){
  foreach(glob("$path/*.css") as $file) {
    insertCss($file);
  }
  foreach(glob("$path/*", GLOB_ONLYDIR) as $dir) {
    recursive($dir);
  }
}
function insertCss($file){
  $file=substr($file,2);
  echo "
/**
 * $file
 */\n";
  include($file);
}